﻿@model RegisterViewModel

<div class="Login-page">

    <partial name="_ValidationSummary" />

    <div class="container">
        <div class="row top-buffer">

                <div class="col"></div>
                <div class="col-sm-6">
                    <div class="card">
                        <div class="card-header">
                            <h2>Register</h2>
                        </div>

                        <div class="card-body">
                            <form asp-route="Register">
                                <div class="form-group">
                                    <label asp-for="Username"></label>
                                    <input class="form-control" placeholder="Username" asp-for="Username" autofocus>
                                </div>
                                <div class="form-group">
                                    <label asp-for="PhoneNumber"></label>
                                    <input class="form-control" placeholder="Phone Number" asp-for="PhoneNumber" autocomplete="off">
                                </div>
                                <div class="form-group">
                                    <label asp-for="RoleName"></label>
                                    <input class="form-control" placeholder="Role Name" asp-for="RoleName" autocomplete="off">
                                </div>
                                <div class="form-group">
                                    <label asp-for="Password"></label>
                                    <input type="password" class="form-control" placeholder="Password" asp-for="Password" autocomplete="off">
                                </div>
                                <button class="btn btn-primary" name="button" value="register">Register</button>
                                <button class="btn btn-secondary" name="button" value="cancel">Cancel</button>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="col"></div>

        </div>
    </div>
</div>
